FRwLock Class Reference
[Thread Handling]

FRwLock - read / write lock. More...

#include <fthread.h>

Public Member Functions

 FRwLock (const char8 *name="FRwLock")
 FRwLock constructor.
 ~FRwLock ()
 FRwLock destructor.
bool verify ()
 Verifies lock.
void waitToRead ()
 Sets 'waits to read' state.
void doneReading ()
 Sets 'done reading' state.
void waitToWrite ()
 Sets 'wait to write' state.
void doneWriting ()
 Sets 'done writing' state.

Detailed Description

FRwLock - read / write lock.


Constructor & Destructor Documentation

FRwLock ( const char8 *  name = "FRwLock"  ) 

FRwLock constructor.

Parameters:
name name of RwLock
~FRwLock (  ) 

FRwLock destructor.


Member Function Documentation

bool verify (  ) 

Verifies lock.

Returns:
true if locked.
void waitToRead (  ) 

Sets 'waits to read' state.

void doneReading (  ) 

Sets 'done reading' state.

void waitToWrite (  ) 

Sets 'wait to write' state.

void doneWriting (  ) 

Sets 'done writing' state.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.